package tools;

import java.util.ResourceBundle;

public class DBBundleManager {
	
	private static ResourceBundle properties;
	public DBBundleManager() {
		DBBundleManager.properties = ResourceBundle.getBundle("ressources.database");
	}
	
	/**
	 * Get Database parameters
	 * @param key
	 * @return the value
	 */
	public static String getParameter(String key){
		return DBBundleManager.properties.getString(key);
	}
}
